package test_03_01.service.Impl;

import test_03_01.dao.SumDao;
import test_03_01.service.SumService;

public class SumServiceImpl implements SumService {
    private SumDao sumDao;

    public void setSumDao(SumDao sumDao) {
        this.sumDao = sumDao;
    }

    @Override
    public int sum(int num1, int num2) {
        return sumDao.sum(num1,num2);
    }
}
